﻿<Window x:Class="ZOIL.DataBackend.Server.AddDatabaseDialog"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Add Database" Height="300" Width="300">
    <DockPanel>
        <StackPanel DockPanel.Dock="Bottom" Orientation="Horizontal" HorizontalAlignment="Center">
            <Button Margin="0,0,10,0" Width="100" x:Name="btnAddDb" Click="btnAddDb_Click">Add Database</Button>
            <Button Margin="10,0,0,0" Width="100" x:Name="btnCancel" Click="btnCancel_Click">Cancel</Button>
        </StackPanel>
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="30"></RowDefinition>
                <RowDefinition Height="30"></RowDefinition>
                <RowDefinition Height="30"></RowDefinition>
                <RowDefinition></RowDefinition>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition></ColumnDefinition>
                <ColumnDefinition></ColumnDefinition>
            </Grid.ColumnDefinitions>
            <TextBlock VerticalAlignment="Center">Database Name:</TextBlock>
            <TextBox Grid.Column="1" Height="20" x:Name="txtDbName"></TextBox>
            <TextBlock VerticalAlignment="Center" Grid.Row="1">Database File Name:</TextBlock>
            <StackPanel Grid.Row="1" Grid.Column="1" Height="20" Orientation="Horizontal">
                <TextBox Width="100" x:Name="txtDbFileName"></TextBox>
                <TextBlock>.yap</TextBlock>
            </StackPanel>
            <TextBlock VerticalAlignment="Center" Grid.Row="2">Port:</TextBlock>
            <TextBox Grid.Row="2" Grid.Column="1" Height="20" x:Name="txtPort"></TextBox>
            <TextBlock Grid.Row="3">Description:</TextBlock>
            <TextBox Grid.Row="3" Grid.Column="1" x:Name="txtDescription"></TextBox>
        </Grid>
    </DockPanel>
</Window>
